<?php

class Message {
	private $titre;
	private $contenu;
	private $dateCreation;
	private $dateEnvoi;
	private $dateSeuil;
	
	public function set($var, $val) {
		$this->$var=$val;
	}
	
	public function get($var) {
		return $this->$var;
	}
	
	public function __construct($titre="", $contenu="") {
		$this->titre=$titre;
		$this->contenu=$contenu;
	}
}
?>
